www.gusucode.com > 地方成人教育中心整站源代码 1 > 地方成人教育中心整站源代码 1.0/bbs/boke/Edit_Plus/FCKeditor/editor/_source/globals/fckeditorapi.js
/* * FCKeditor - The text editor for internet * Copyright (C) 2003-2004 Frederico Caldeira Knabben * * Licensed under the terms of the GNU Lesser General Public License: * http://www.opensource.org/licenses/lgpl-license.php * * For further information visit: * http://www.fckeditor.net/ * * File Name: fckeditorapi.js * Create the FCKeditorAPI object that is available as a global object in * the page where the editor is placed in. * * Version: 2.0 RC3 * Modified: 2004-05-31 23:07:48 * * File Authors: * Frederico Caldeira Knabben (fredck@fckeditor.net) */ var FCKeditorAPI ; if ( !window.parent.FCKeditorAPI ) { // Make the FCKeditorAPI object available in the parent window. FCKeditorAPI = window.parent.FCKeditorAPI = new Object() ; FCKeditorAPI.__Instances = new Object() ; // Set the current version. FCKeditorAPI.Version = '2.0 RC3' ; // Function used to get a instance of an existing editor present in the // page. FCKeditorAPI.GetInstance = function( instanceName ) { return this.__Instances[ instanceName ] ; } } else FCKeditorAPI = window.parent.FCKeditorAPI ; // Add the current instance to the FCKeditorAPI's instances collection. FCKeditorAPI.__Instances[ FCK.Name ] = FCK ;